
var infoStorage = {
    error_info: [], //错误信息存储
    loading_info: {}, //加载信息存储
    terminal_info: {}, //终端信息存储
    request_info: [], //请求信息存储
    config_info: {}, //配置模式信息存储
    click_info: [], //点击信息存储
    expose_info: {}, //对外暴露数据,
    request_error_info: [], // 请求的 error 存储
  };
function infoStorage_push(type, info) {
    if (type === "terminal_info" || type === "loading_info" || type === "config_info") {
      infoStorage[type] = Object.assign(infoStorage[type], info);
    } else {
      infoStorage[type].push(info);
    }
  }

export {
    infoStorage,
    infoStorage_push
}